package com.jwsoft.manager.common.vo.eduAddressTreeSchool;

import com.bifang.assistant.common.vo.BaseVO;
import com.jwsoft.manager.common.vo.eduSchool.EduSchoolVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author zhiyuan
 * @Date 2023/3/15 14:21
 */
@Data

@Schema(name = "EduAddressSchoolRelationAddVO", title = "地址树与学校关联", description = "地址树与学校关联表主键实体类")
public class EduAddressSchoolRelationAddVO extends BaseVO {

    @NotNull(message = "关联的学校不能为空")
    @Schema(name = "schoolList", title = "要关联的学校集合")
    private List<EduSchoolVO> schoolList;

    @NotNull(message = "地址id不能为空")
    @Schema(name = "treeId", title = "地址id")
    private Long treeId;

    @Schema(name = "serviceAreaFlag", title = "是否服务区 0 否 1是")
    private String serviceAreaFlag;

    @Schema(name = "verificationFlag", title = "是否需要核验地址情况：0 否 1是")
    private String verificationFlag;

    @Schema(name = "nativeFlag", title = "是否原住居民可读")
    private String nativeFlag;

    @Schema(name = "handleChildFlag", title = "是否处理子级节点 0不处理  1处理")
    private String handleChildFlag;
}
